
using System;

namespace raycsharp
{

	public class IntersectionResult
	{
		public double distance { get; set; }
		public Vector intersection_point { get; set; }
		public bool status { get; set; }
		public SceneObject obj { get; set; }
		
		public IntersectionResult (SceneObject _obj, Vector _intersection_point, double _distance, bool _status)
		{
			obj = _obj;
			intersection_point = _intersection_point;
			distance = _distance;
			status = _status;
		}
		
		public IntersectionResult() : this(null, new Vector(), double.PositiveInfinity, false) { }
	}
}
